<template>
  <el-link
      v-bind="$attrs"
      v-on="$listeners"
      :type="type"
      :underline="underline"
  >
    <template v-if="$slots['default']" slot="default">
      <slot name="default"></slot>
    </template>
  </el-link>
</template>

<script>
export default {
  name: "MLink",
  data() {
    return {
    }
  },
  props: {
    type:{
      type: String,
      default: 'primary'
    },
    underline:{
      type: Boolean,
      default: false
    }
  },
  components: {},
  mounted() {
  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
@import "../../style/var";
.el-link+.el-link{
  margin-left: 10px;

}
.el-link{
  line-height: 1;
}
.el-link.el-link--default:hover{
  //color: $fontColor!important;
}
</style>
